package iii.myangeloldman;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Stand2Activity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_stand2);
		InitComp();
	}
OnClickListener btnEatNow_click=new OnClickListener() {
	
	@Override
	public void onClick(View v) {
		Intent it=new Intent(Stand2Activity.this,EatmedicneActivity.class);
		startActivity(it);
	}
};
OnClickListener btnEatLater_click=new OnClickListener() {
	
	@Override
	public void onClick(View v) {
		Intent it=new Intent(Stand2Activity.this,MainActivity.class);
		startActivity(it);
	}
};

private void InitComp() {
		btnEatNow=(Button)findViewById(R.id.btnEatNow);
		btnEatNow.setOnClickListener(btnEatNow_click);
		btnEatLater=(Button)findViewById(R.id.btnEatLater);
		btnEatLater.setOnClickListener(btnEatLater_click);
	}

Button btnEatNow=null;
Button btnEatLater=null;

}
